package org.kukker.upcoming;

import java.util.Properties;


import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

import org.kukker.R;
import org.kukker.animation.AnimationFactory;
import org.kukker.gesture.G6;
import org.kukker.list.IKukkerListItemListener;
import org.kukker.list.IKukkerListItemView;
import org.kukker.list.KukkerListItemView;
import org.kukker.list.KukkerListView;

import android.app.Activity;
import android.app.ListActivity;
import android.content.AssetManager;
import android.content.ComponentName;
import android.content.ContentResolver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.content.IntentFilter;
import android.content.IntentReceiver;
import android.content.Resources;
import android.content.ServiceConnection;
import android.content.SharedPreferences;
import android.content.DialogInterface.OnCancelListener;
import android.content.DialogInterface.OnClickListener;
import android.content.Resources.Theme;
import android.content.pm.PackageManager;
import android.content.pm.PackageManager.NameNotFoundException;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteDatabase.CursorFactory;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.Rect;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;
import android.telephony.Call.State;
import android.util.Log;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.animation.Animation;
import android.view.animation.TranslateAnimation;
import android.view.animation.Animation.AnimationListener;
import android.widget.AbsoluteLayout;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ListView;
import android.widget.RelativeLayout;
import android.widget.TextView;


import org.kukker.event.Event;

import android.content.Context;
import android.view.View;

public class UpcomingEventView extends KukkerListItemView{

	//private boolean isSaved;
	
	
	public UpcomingEventView(Context context, Event data,KukkerListView listView) {		
		super(context,data,listView);
		init(context,data);
	
	}

	
	public void init(Context context, Event data){
		if(context == null){
			Log.i("agus","context null");
		}
		if(data== null){
			Log.i("agus","data null");
		}
		
		/*
		//Log.i("agus","1");
		this.setTitle(data.name);
		//Log.i("agus","2");
		this.setShortDesc(data.description);
		//Log.i("agus","3");
		this.setStartDate(data.startDate);
		//Log.i("agus","4");
		this.setVenueInfo(data.venueName+", "+data.venueAddress);
		//Log.i("agus","5");
		*/
		
		//this.determineViewState(data);	
	}
}